package com.qf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.TlGoods;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface GoodsMapper extends BaseMapper<TlGoods> {
    @Select("select * from tl_goods limit #{arg0},#{arg1}")
    List<TlGoods> findAll(int start,int end);

    @Select("select * from tl_goods where goods_info like '%${src}%'")
    List<TlGoods> selectLike(@Param("src") String src);
}
